/**
 * @version     1.0.0
 * @package     mylits engine
 * @license     GNU General Public License version 3
 * @author      Arfan Fudyartanto D N <arfan@mylits.com> - http://mylits.com
 */
jQuery(document).ready(function() {

    jQuery('#btn-table-of-content').click(function() {
        if (jQuery('#table-of-content-menus-box').css('display') === 'none') {
            jQuery('#table-of-content-menus-box').stop(true, true).slideDown(500, 'easeOutCirc');
        } else {
            jQuery('#table-of-content-menus-box').stop(true, true).slideUp(500, 'easeOutCirc');
        }
    });

    jQuery('.close-cm').click(function() {
        jQuery('#btn-table-of-content').click();
    });
});